package com.example.dingdong.constant;

public class Constants {
    /* 歌曲图片，歌手图片，歌曲文件，歌单图片等文件的存放路径 */
    public static String ASSETS_PATH = System.getProperty("user.dir");   //获取的是 Java 程序运行时的工作目录路径。

    /**
     * 所有路径都以 "file:" 开头，这表示这些路径是文件系统中的路径。
     * 路径是相对的，并基于 ASSETS_PATH（即当前工作目录）。
     * 例如，AVATOR_IMAGES_PATH 表示存储头像图片的路径：/img/avatorImages/ 目录下。
     * 下面的路径是minio的路径，比如"/img/avatorImages/"就是在minio的xuanfeng桶下的"/img/avatorImages/"
     */
    public static String AVATOR_IMAGES_PATH = "file:" + ASSETS_PATH + "/img/avatorImages/";
    public static String SONGLIST_PIC_PATH = "file:" + ASSETS_PATH + "/img/songListPic/";
    public static String SONG_PIC_PATH = "file:" + ASSETS_PATH + "/img/songPic/";
    public static String SONG_PATH = "file:" + ASSETS_PATH + "/song/";
    public static String SINGER_PIC_PATH = "file:" + ASSETS_PATH + "/img/singerPic/";
    public static String BANNER_PIC_PATH = "file:" + ASSETS_PATH + "/img/swiper/";

    /* 盐值加密 */
    public static String SALT = "zyt";
}
